import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "Subjects")
public class Subject {
	@Id
	@Column(name= "subject_id")	
	private Integer subject_id;
	
	@Column(name= "name")
	private String subject_name;
	
	@Column(name= "hours")
	private Integer hours;
	
	@Column(name= "course")
	private Integer course;
	
	@Column(name= "description")
	private String description;
	
	//getters
	
	public Integer getId(){return this.subject_id;}
	
	public String getName(){return this.subject_name;}
	
	public Integer getHours(){return this.hours;}
	
	public Integer getCourse(){return this.course;}
	
	public String getDescription(){return this.description;}
	
	//setters
	
	public void setId(Integer id) {this.subject_id= id;}
	
	public void setName(String name) {this.subject_name= name;}
	
	public void setHours(Integer hours) {this.hours= hours;}
	
	public void setCourse(Integer course) {this.course= course;}
	
	public void setDescription(String description) {this.description= description;}
	
}
